<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>解决方案详情</title>
	<link rel="stylesheet" href="css/solve_content.css">
	<link rel="stylesheet" href="font_2234222_8n5f3cu5q0b/iconfont.css">
</head>
<body>
	<nav>
		<div class="nav-con">
			<div class="nav-log"></div>
			<ul class="text">
				<li><a href="index.html">网站首页</a></li>
				<li><a href="#">传悦资源</a></li>
				<li><a href="demo.html">传悦案例</a></li>
				<li class="now"><a href="solve.html">解决方案</a></li>
				<li><a href="#">需求提交</a></li>
			</ul>
			<ul class="icon">
				<li><span class="iconfont icon-dianhua">0535-60652189</span></li>
				<li><span class="iconfont icon-qq"></span></li>
				<li><span class="iconfont icon-xinlang"></span></li>
				<li><span class="iconfont icon-youxiang"></span></li>
				<li><span class="iconfont icon-youxiang1"></span></li>
			</ul>
		</div>
	</nav>
	<main>
		<div class="main-con">

		</div>
	</main>
	<footer>
		<div class="foot-con">
			<ul>
				<li>关于传悦</li>
				<li>新闻动态</li>
				<li>传悦观点</li>
				<li>加入传悦</li>
				<li>联系传悦</li>
				<li>付款账户</li>
			</ul>
			<p>Copyright &copy;2013 创梦网络科技有限责任公司 || 传悦 Chnyoo.cn All Right Reserved 京ICP备12005221号</p>
		</div>
	</footer>

	<script>
		let main_con = document.querySelector(".main-con");
		let http = new XMLHttpRequest();
		http.open("get","http://10.35.164.241:81/content_con");
		http.send();
		http.onreadystatechange = function(){
			if (http.readyState === 4) {
				let contentItem = JSON.parse(http.responseText);
				console.log(contentItem[0].id);
				console.log(contentItem);
				main_con.innerHTML = contentItem[0].content + contentItem[0].content1;
			}
		}
	</script>
</body>
</html>
